package com.example.mvvm

import androidx.lifecycle.ViewModel


class MainViewModel: ViewModel() {
     var name:String = "啊"
         get() {
        return field
    }
    set(value) {
        field=value
    }

     var pass:String=""
    get() {
        return field
    }set(value) {
         field = value
     }
}